<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>简易网盘分享文件</h1>
<section>
    <ul>
        {% for file in all_files %}
            <li>
            <div>文件名：{{ file.file_name }}  </div>
            <div>分享地址：<a
                    href="{{ url_for('file_page', unique_name=file.unique_name) }}">{{ file.unique_name }}</a></div>
            <div>分享码：<a
                    href="{{ url_for('file_page', unique_name=file.unique_name) }}?share_code={{ file.code }}">{{ file.code }}</a>
            </div>
        {% endfor %}
    </ul>

</section>
</body>
</html>